<?PHP if( ! defined( 'OS_PATH' ) ) exit; ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8"/>
<meta name="Generator" content="EditPlus"/>
<title>模板解析错误</title>
<style>
html{background:#F8F8F8;}
*{font-family:Arial; font-size:14px; color: #444; margin:0; padding:0;}
a{	color: #0174A7;	font-weight: bold; text-shadow: 0 1px 0 #FFF; margin:0 10px 0 10px; }
#main{ width:70%; margin:80px 0 0 -35%; position:absolute; left:50%; }
#main div{margin:12px 0;}
#main .title{color:#CC0F16; font-weight:normal; font-size:28px; font-weight:bold; margin:0 0 20px;}
#main .err_str{margin:0 5px 0 10px; color:#CC0F16;}
#main .err_file{margin:0 5px 0 10px;}
#main .err_line{margin-left:5px; color:#CC0F16;}
#main .err_method{margin:0 5px 0 10px; color:#0174A7;}
#main .err_detail{border:1px solid #CCC; padding:5px; background:#FFF; overflow:hidden;}
#main .err_detail div{height:16px; line-height:16px; margin:0;}
#main .err_detail div span.line{display:inline-block; float:left; text-align:right; background:#999; color:#FFF; width:30px; padding-right:2px; font-size:11px; line-height:16px; margin-right:3px;}
#main .err_detail div span.error_line{display:inline-block; float:left; line-height:16px; background:#FFFF66; min-width:50%;}
#main .debug{border:1px solid #CCC; padding:5px; background:#FFF;}
#main .debug div{margin:5px 0;}
#main .debug .include{height:70px; overflow-y:auto; padding:5px; border:1px solid #EFEFEF;}
#main .debug .include div{line-height:15px; height:15px; margin:0;}
#main .os{margin:15px 0; font-family:Arial; font-size:10px; color:#999;}
#main .os *{font-family:Arial; font-size:10px; color:#999;}
#main .os address{display:inline;}
#main .os .info{margin-left:25px; font-size:10px;}
#main .os .info sup{font-size:8px;}

</style>
</head>
<body>
<div id="main">
	<div class="title">模板解析错误</div>
	<div><b>当前地址</b><a href="<?=Cache :: get( 'HTTP.SELF' )?>"><?=Cache :: get( 'HTTP.SELF' )?></a> </div>
	<div><b>错误信息</b> <span class="err_str"><?=$e[ 'message' ]?></span></div>
<?PHP if( $e[ 'extra' ] ) : ?>
	<div><b>详细位置</b> <span class="err_file"><?=$e[ 'file' ]?></span><span class="err_line">第 <?=$e[ 'line' ]?> 行</span></div>
	<div class="err_detail"><?PHP if( isset( $e[ 'detail' ] ) ) echo $e[ 'detail' ]; ?></div>
<?PHP endif; ?>
	<div class="os"><address><?=$_SERVER[ 'SERVER_SOFTWARE' ]?></address><span class="info"><b>O</b>pen<b>S</b>tation<sup><?=OS_VER?></sup></span></div>
</div>
</body>
</html>
<?PHP exit; ?>